package com.chen.demo.rhombus.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum Type {

    ADMIN("管理员", 0),
    USER("普通用户", 1);

    @JsonValue
    private String label;

    @EnumValue
    private int value;

}
